<?php

function get_img($url)
{
    if (strpos($url, "/") === 0) {
        return request()->domain() . $url;
    }
    return $url;
}

